package com.lf.service.impl;

import com.lf.web.config.MyConditional;
import com.lf.service.PlayService;
import org.springframework.context.annotation.Conditional;
import org.springframework.stereotype.Component;

/**
 * Created by LF on 2017/5/1.
 */
@Conditional(MyConditional.class)
@Component
public class PlayServiceImpl implements PlayService {
    @Override
    public void singer() {
        System.err.println("唱歌");
    }
}
